package com.mmdccj.yugu.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.mmdccj.yugu.dto.MusicListDto;
import com.mmdccj.yugu.dto.SearchMusicDto;
import com.mmdccj.yugu.dto.UserDto;
import com.mmdccj.yugu.entity.MusicList;
import com.mmdccj.yugu.entity.User;

/**
 * @Author: star_
 * @date: 2023-12-09 16:26
 */
public interface SearchService {
    SearchMusicDto searchMusic(String keyword, Integer currentPage, Integer pageSize);

    PageInfo<User> searchSinger(String keyword, Integer currentPage, Integer pageSize);

    PageInfo<MusicListDto> searchMusicList(String keyword, Integer currentPage, Integer pageSize);

    PageInfo<UserDto> searchUser(String keyword, Integer currentPage, Integer pageSize, String userId);

    PageInfo<MusicListDto> searchCD(String keyword, Integer currentPage, Integer pageSize);
}
